#ifndef FORTE_EXECUTOR_HPP
#define FORTE_EXECUTOR_HPP

#include <cstdlib>

namespace Forte
{
  struct ExecutionListener
  {
    virtual void OnExecutionOutput(char const* line, std::size_t length) = 0;
  };

  class Executor
  {
  public:
    Executor(ExecutionListener& listener);

    void Execute(char const* command);
  private:
    ExecutionListener& mListener;
  };
}

#endif /* FORTE_EXECUTOR_HPP */

